package org.jeecg.modules.act.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.act.entity.ActMatter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.act.entity.ActMatterValue;
import org.jeecg.modules.act.vo.ActMatterValueVo;
import org.jeecg.modules.act.vo.ActMatterVo;

/**
 * @Description: 活动事项表
 * @Author: jeecg-boot
 * @Date: 2019-09-04
 * @Version: V1.0
 */
public interface ActMatterMapper extends BaseMapper<ActMatter> {

    List<Map<String, Object>> listByActId(@Param("actId") String actId,@Param("userId") String userId);

    List<ActMatterVo> findByActId(String actId);

    List<ActMatterValueVo> findKV(@Param("userId") String userId,@Param("actId") String actId);
}
